package dao.models;

public class Answer {
    private int id;
    private String answer;

    public int getId() {
	return id;
    }

    public void setId(int id) {
	this.id = id;
    }

    public String getAnswer() {
	return answer;
    }

    public void setAnswer(String answer) {
	this.answer = answer;
    }

    @Override
    public int hashCode() {
	final int prime = 31;
	int result = 1;
	result = prime * result
		+ ((this.answer == null) ? 0 : this.answer.hashCode());
	result = prime * result + this.id;
	return result;
    }
}
